UCF STIG Viewer Logo

Software publishing state table must be configured to only trust items in the users trust database.


Overview

Finding ID Version Rule ID IA Controls Severity
V-31307 APPNET0069 SV-41581r1_rule DCSL-1 Medium
Description
Microsoft Windows operating systems provide a feature called Authenticode. Authenticode technology and its underlying code signing mechanisms serve to provide a mechanism to identify software publishers and ensure that software applications have not been tampered with. Authenticode technology relies on digital certificates and is based on Public Key Cryptography Standards (PKCS) #7 (encrypted key specification), PKCS #10 (certificate request formats), X.509 (certificate specification), and Secure Hash Algorithm (SHA) and MD5 hash algorithms. .Net application developers sign their application code with their public key and Authenticode technology performs certificate validation tasks prior to allowing the application to run. If the system is not configured properly, Authenticode will allow only downloads from publishers that are contained in users personal trust database creating an availability risk.
STIG Date
Microsoft Dot Net Framework 4.0 STIG 2014-01-08

Details

Check Text ( C-40081r11_chk )
This check must be performed for each user on the system.

In order to determine compliance, the hexadecimal values contained in each user's "State" registry key must be converted to binary values.

Use regedit to locate "HKEY_USER\[UNIQUE USER SID VALUE]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State".

Document the hexadecimal value of the user's "State" registry key. Each character in a hex string is referred to as a "nibble". For example, a hex value of c0000 has 5 binary "nibbles". For guidance purposes, the nibble positions are numbered 1 through 5 starting from the right and moving to the left.

Open the Windows calculator.
Select "View", then "Programmer".
Select "Hex" and then "Dword".

Enter the 5 nibble hex value obtained from the user's registry key. Select "Bin".

The hex value will automatically convert to a binary value.

Start counting from 1 (not 0) and count the bit positions starting from the right and moving to the left. The total number of bit positions will vary from 18 to 20 depending upon the hex values input into the calculator.

If bit position 19 is not a value of "0" on production systems, this is a finding.

If bit position 19 is not a value of "0" on development systems and the IAO has not provided documented approval, this is a finding.
Fix Text (F-35237r6_fix)
Using regedit, change the hexadecimal value of the "HKEY_USER\[UNIQUE USER SID VALUE]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State" registry key.

For production systems, change the hexadecimal value for nibble position 5 to "1".

For development systems, change the hexadecimal values for nibble position 5 to "1" or the IAO must provide documented approval.

Example fix:
Hex value: c0000
Nibble position: 54321
To apply fix, the example hex value "c" in nibble position 5 would be changed to hex value "1" resulting in a hex value of 10000.